package com.ts.auth.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class UserLoginDto {
    private Integer userId;

//    @JsonFormat(locale = "zh",timezone = "GMT+8",pattern = "yyyy - MM -dd HH:mm:ss")
    private Date createTime; //token创建的时间

    @JsonFormat(locale = "zh",timezone = "GMT+8",pattern = "yyyy - MM -dd HH:mm:ss")
    private Date expireTime; //token过期的时间
}
